package com.xuecheng.content.exception;

import com.xuecheng.base.exception.XCPlusBaseException;

/**
 * @description: 课程价格小于0
 * @author 勾新杰
 * @version 1.0
 * @date 2024/12/19 23:09
 */
public class CoursePriceIllegalException extends XCPlusBaseException {

    CoursePriceIllegalException(){
        super(ContentError.COURSE_PRICE_ILLEGAL.getErrMessage());
    }

    public static void cast(){
        throw new CoursePriceIllegalException();
    }
}
